package com.vhall.component.entity.chat.vo;


import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author xianglei
 * @date 2021/5/10 15:52
 */

@Data
public class ChatImgUploadVo implements Serializable {

    @ParamName("room_id")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数异常")
    private String roomId;

    @ParamName("account_id")
    private Integer accountId;

    @ParamName("app_id")
    private String appId;

    /**
     * Base64 编码
     */
    private String file;
}
